home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.1 (Developer) [x86]
/
NeXT Step 3.1 Intel dev.cdr.dmg
/
NextDeveloper
/
Examples
/
SoundAndMusic
/
SoundLibrary
/
Makefile
< prev
next >
Wrap
Makefile
|
1990-10-10
|
1KB
|
51 lines
# Makefile for Sound programming examples.
#
# You can copy all of the examples to your home directory by
# cd'ing in a Terminal to this directory and typing
#
# make installsrc SRCROOT=$HOME/sound_examples
#
# where $HOME is assumed to expand to your home directory.
# Then you can make them all by cd'ing to ~/sound_examples and typing
#
# make all
#
ALL = playtest recordtest chaintest converttest hosttest \
compresstest recordfiletest recordchaintest
SRCS = $(ALL:=.c) README
INSTALLDIR = $(HOME)/bin
INSTALLFLAGS = -c -s -m 755
all:
make $(ALL)
$(ALL):
cc -O -g -o $@ $@.c -lsys_s
clean:
rm -f $(ALL)
playtest: playtest.c
recordtest: recordtest.c
chaintest: chaintest.c
converttest: converttest.c
hosttest: hosttest.c
compresstest: compresstest.c
recordfiletest: recordfiletest.c
recordchaintest: recordchaintest.c
installsrc:
-rm -rf $(SRCROOT)
mkdirs -m 755 $(SRCROOT)
tar cf - $(SRCS) Makefile | (cd $(SRCROOT); tar xfp -)
chmod 444 $(SRCROOT)/*
install: all $(DSTROOT)$(INSTALLDIR)
install $(INSTALLFLAGS) $(ALL) $(DSTROOT)$(INSTALLDIR)
$(DSTROOT)$(INSTALLDIR):
mkdirs -m 775 $(DSTROOT)$(INSTALLDIR)